#include<iostream>
#include<string>


//Generic Mathematical Object
class MathObject{
       private: 
                std::string objectType;
       public:
              MathObject(){
                           objectType = "MathObject";
              }
              
              virtual std::string toString(){
                    return objectType;  
              }
              
              virtual bool isEqual(MathObject & mObj){
                      return (objectType.compare(mObj.objectType)==0);
              }
};
